<?php
namespace App\Animal;

class Cat extends Animal
{
	private $weight;

	public function __construct($name, $color, $weight)
	{
		parent::__construct($name, $color);
		$this->weight = $weight;
	}

	public function eat()
	{
		parent::eat();
		echo '追着老鼠玩耍';
	}

	public function breach()
	{
		echo '在带着咸味的空气中自由的呼吸';
	}

	public function sleep()
	{
		echo '躲在主人的怀里睡觉';
	}

	public function scream()
    {
        echo 'Miao, do not kill me bitch!<br/>';
    }
}